package com.ylsk.check.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ylsk.common.core.domain.MybatisPlusBaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ylsk.common.annotation.Excel;
import com.ylsk.common.core.domain.BaseEntity;

/**
 * 进场上报对象 ins_entry_report
 *
 * @author yangsy
 * @date 2023-12-20
 */
@TableName("ins_entry_report")
public class EntryReport extends MybatisPlusBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 进场上报id */
    @TableId
    private Long entryReportId;

    /** 项目报备id */
    private Long reportInfoId;

    /** 进场时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date entryTime;

    /** 是否占道 (0否 1是) */
    private Integer isJeeves;

    /** 现场照片及视频 */
    private Long entryFileId;

    /** 经度 */
    @TableField(fill = FieldFill.INSERT)
    private BigDecimal longitude;

    /** 纬度 */
    @TableField(fill = FieldFill.INSERT)
    private BigDecimal latitude;

    /** 道路名称 */
    @TableField(fill = FieldFill.INSERT)
    private String roadName;

    /** 方向 */
    @TableField(fill = FieldFill.INSERT)
    private String direction;

    /** 所属大队 */
    private Long deptId;

    /** 审核人 */
    private Long reviewedBy;

    /** 备注内容 */
    private String remark;

    public void setEntryReportId(Long entryReportId)
    {
        this.entryReportId = entryReportId;
    }

    public Long getEntryReportId()
    {
        return entryReportId;
    }
    public void setReportInfoId(Long reportInfoId)
    {
        this.reportInfoId = reportInfoId;
    }

    public Long getReportInfoId()
    {
        return reportInfoId;
    }
    public void setEntryTime(Date entryTime)
    {
        this.entryTime = entryTime;
    }

    public Date getEntryTime()
    {
        return entryTime;
    }
    public void setIsJeeves(Integer isJeeves)
    {
        this.isJeeves = isJeeves;
    }

    public Integer getIsJeeves()
    {
        return isJeeves;
    }
    public void setEntryFileId(Long entryFileId)
    {
        this.entryFileId = entryFileId;
    }

    public Long getEntryFileId()
    {
        return entryFileId;
    }
    public void setLongitude(BigDecimal longitude)
    {
        this.longitude = longitude;
    }

    public BigDecimal getLongitude()
    {
        return longitude;
    }
    public void setLatitude(BigDecimal latitude)
    {
        this.latitude = latitude;
    }

    public BigDecimal getLatitude()
    {
        return latitude;
    }
    public void setRoadName(String roadName)
    {
        this.roadName = roadName;
    }

    public String getRoadName()
    {
        return roadName;
    }
    public void setDirection(String direction)
    {
        this.direction = direction;
    }

    public String getDirection()
    {
        return direction;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setReviewedBy(Long reviewedBy)
    {
        this.reviewedBy = reviewedBy;
    }

    public Long getReviewedBy()
    {
        return reviewedBy;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("entryReportId", getEntryReportId())
            .append("reportInfoId", getReportInfoId())
            .append("entryTime", getEntryTime())
            .append("isJeeves", getIsJeeves())
            .append("entryFileId", getEntryFileId())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("roadName", getRoadName())
            .append("direction", getDirection())
            .append("deptId", getDeptId())
            .append("reviewedBy", getReviewedBy())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
